Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
#define PM1a_EN_ADDR (ACPI_PM1A_EVT_BLK_ADDRESS + 2)
#define TMR_VAL_ADDR (ACPI_PM_TMR_BLK_ADDRESS)
-/* The interesting bit of the PM1a_STS register */
+/* The interesting bits of the PM1a_STS register */
#define TMR_STS (1 << 0)
#define PWRBTN_STS (1 << 5)
#define GBL_STS (1 << 8)
*/
struct hvm_hw_pmtimer {
- uint32_t tmr_val; /* PM_TMR_BLK.TMR_VAL: 24bit free-running counter */
+ uint32_t tmr_val; /* PM_TMR_BLK.TMR_VAL: 32bit free-running counter */
uint16_t pm1a_sts; /* PM1a_EVT_BLK.PM1a_STS: status register */
uint16_t pm1a_en; /* PM1a_EVT_BLK.PM1a_EN: enable register */
};